package com.dyna.foundation.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "管理后台 - 用户更新状态 Request VO")
@Data
public class UserUpdateStatusReq {

    @ApiModelProperty(value = "用户编号", required = true, example = "1024")
    @NotNull(message = "角色编号不能为空")
    private Long userId;

    @ApiModelProperty(value = "状态，见 CommonStatusEnum 枚举", required = true, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

}
